package com.example.demo.vo.user;

import com.example.demo.commom.AjaxResult;

public class LoginVo {
    private Integer code;
    private String msg;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
    public static LoginVo returnInfo(Integer code, String msg) {
        LoginVo loginVo = new LoginVo();
        loginVo.setCode(code);
        loginVo.setMsg(msg);
        return loginVo;
    }
}
